<template>
  <div class="home">
         <router-view></router-view>
        <van-tabbar route  active-color="#f00" >
            <van-tabbar-item replace to="/home/index" icon="home-o">
               首页
            </van-tabbar-item>
            <van-tabbar-item replace to="/home/cate" icon="apps-o">
               分类
            </van-tabbar-item>
            <van-tabbar-item replace to="/home/cart" :badge="$store.getters.nums" icon="cart-o">
               购物车
            </van-tabbar-item>
            <van-tabbar-item replace to="/home/user" dot icon="contact">
               用户
            </van-tabbar-item>
        </van-tabbar>
  </div>
</template>
<script>

export default {
  components:{
  },
  props:{},
  data(){
    return {
    }
  },
  watch:{},
  computed:{},
  methods:{},
  created(){},
  mounted(){}
}
</script>
<style lang="less">

</style>